/*******************************************************************************																	

	DESCRIPTION: 	This do file combines the weights of different models and
					employment durations into a single summary dataset.
					
*******************************************************************************/

clear all 
global id_code 004

* Merge weights:
foreach model in Full {
	
	foreach outcome in emplAft6M_0M_In emplAft6M_6M_In emplAft6M_12M_In {
		
		forval year = 1992/2016 {
			
			if `year' == 1992 & "`outcome'" == "emplAft6M_0M_In" {
				use "${data}/003_Weights_`model'_`outcome'_`year'.dta", clear
			} 
			else {
				append using "${data}/003_Weights_`model'_`outcome'_`year'.dta"
			}

		}
	}
}		

* Save:
save "${data}/${id_code}_Weights_combined.dta", replace